package com.qianyu.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.DeviceCollect;
import com.qianyu.project.entity.DeviceRepair;
import com.qianyu.project.mapper.provider.mfy.DeviceCollectProvider;
import com.qianyu.project.mapper.provider.mfy.DeviceMaintainProvider;
import com.qianyu.project.mapper.provider.mfy.DeviceRepairProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author mfy
 * @desc
 */
@Repository
public interface DeviceRepairMapper extends BaseMapper<DeviceRepair> {


    @SelectProvider(method = "Mylist",type = DeviceRepairProvider.class)
    IPage<DeviceRepair> Mylist(IPage<DeviceRepair> page, Map<String, String> params);
    @SelectProvider(method = "listNopage",type = DeviceRepairProvider.class)
    List<DeviceRepair> listNopage(Map<String, String> params);
}
